﻿using System.Collections.ObjectModel;

namespace ElectronicCommerce.Framework.Configuration.Entities
{
    /// <summary>
    /// Error Info Collection
    /// </summary>
    public class ErrorInfoCollection : KeyedCollection<string, ErrorInfo>
    {
        protected override string GetKeyForItem(ErrorInfo item)
        {
            return item.Code;
        }
    }
}
